package ssm.Service.impl;

import org.springframework.stereotype.Service;
import ssm.Mapper.UserMapper;
import ssm.Service.UserService;
import ssm.pojo.User;

import javax.annotation.Resource;

/**
 * Created by 海洋 on 2019/1/3.
 */
@Service("userService")
public class UserServiceimpl implements UserService {
    @Resource
    private UserMapper userMapper;

    @Override
    public User login(User user) {
        return userMapper.login(user);
    }
}
